DigitalWalletDetails

class DigitalWalletDetails(val walletBrand: DigitalWalletDetails.WalletBrand, val buyerId: String?, val lightningDetails: DigitalWalletDetails.LightningDetails? = null)

Details about a digital wallet (QR code) payment.

Constructors

Link copied to clipboard
constructor(walletBrand: DigitalWalletDetails.WalletBrand, buyerId: String?, lightningDetails: DigitalWalletDetails.LightningDetails? = null)

Types

Link copied to clipboard
class Builder(walletBrand: DigitalWalletDetails.WalletBrand, buyerId: String? = null, lightningDetails: DigitalWalletDetails.LightningDetails? = null)

Lets developers create and configure digital wallet details for automated testing.

Link copied to clipboard
data class LightningDetails(val paymentUrl: String?, val expiresAt: String?, val amountMilliSats: Long?)

Details specific to Bitcoin Lightning payments. Note: paymentUrl is excluded from toString() for security reasons.

Link copied to clipboard

The brand used for a digital wallet payment. This enum maps 1:1 to the Payments API DigitalWalletDetails brand.

Properties

Link copied to clipboard

the ID of the buyer in the digital wallet system (e.g. $cashtag for Cash App)

Link copied to clipboard

details specific to Bitcoin Lightning payments

Link copied to clipboard

the brand of the digital wallet used for the payment (e.g. Cash App, PayPay)